export interface TaskLog {
  id: number
  taskId: string
  taskName: string
  status: 'success' | 'error' | 'running' | 'stopped'
  output?: string
  startTime: string
  endTime?: string
  duration?: number
  exitCode?: number
  error?: string
}

export interface LogQuery {
  taskId?: string
  status?: string
  startDate?: string
  endDate?: string
  page?: number
  pageSize?: number
}

export interface LogResponse {
  logs: TaskLog[]
  total: number
} 